import Vue from 'vue'
import App from './App.vue'
import VueRouter from 'vue-router'
import ElmentUI from 'element-ui'
import store from './store/index'
// import axios from 'axios'
import axios from './http'

import router from '../src/router/index'
import '../public/style/reset.css'
import 'element-ui/lib/theme-chalk/index.css';
import echarts from 'echarts'


Vue.prototype.$echarts = echarts


Vue.config.productionTip = false
Vue.use(VueRouter)
Vue.use(ElmentUI)

Vue.prototype.$axios = axios
// axios.defaults.baseURL = '/'

window._AMapSecurityConfig = {
  securityJsCode: "e31f9e69117fbede0ad041d8fbb263bc",
};


new Vue({
  render: h => h(App),
  router,
  store
}).$mount('#app')
